package com.platform.framework.vo.transfer;

/**
 * 2016/11/9
 * @author ly-liugaoyang
 * 数据传输层
 */
public class TransportLayer {
	
	// 支付宝调起支付参数
	private String pid;
	private String appid;
	private String privateKey;
	private String publicKey;
	private String alipayPublicKey;
	private String aliKey;
	private String alipayAccount;
	private String userIp;
	
	// 微信调起支付参数
	private String mchId;
	private String wxKey;
	private String appsecret;
	private String cerPath;
	private String sign;
	private String wxMasterAccountName;
	
	// 公共参数
	private String tradeFlowId;  // 流水表ID
	
	private String orderNo;		//订单编号
	
	private String outTradeNo;  // 订单号
	
	private String reflectMethod; // 反射方法
	
	private String remark;	//备注信息(回调签名)
	
	private String authCode;    //支付条码
	
	private String totalAmount;	// 订单总金额  (微信为totalFee)
	
	private String subAccountId;  //子账号id
	
	private String loginName;   //系统用户名
	
	private String body;		// 订单描述
	
	private String detail;		// 商品详细
	
	private String payGate; 	// 支付方式 详情见PayGate
	
	private String payType;		// 支付类型 1 微信支付 2支付宝支付
	
	private String notifyUrl;    // 回调地址
	
	private String refundAmount; // 退款金额 (微信为refundFee)
	
	private String refundReason; // 退款原因
	
	private String showURL;
	
	public String getShowURL() {
		return showURL;
	}

	public void setShowURL(String showURL) {
		this.showURL = showURL;
	}

	// -- 支付宝
	private String subject; 	// 订单描述
	
	private String storeId; // payee id 同seller id
	
	private String tradeNo ; // 分润唯一交易支付单号
	
	private String settleAmount ; // 分账金额 由主账号确定
	
	private String transOut; // 分账支出账户
	
	private String transIn; // 分账转入账户
	
	private String outRequestNo; // 部分退款
	
	private String sellerId; // 支付方
	
	private String isSettle; // 是否分润
	
	private String buyerUserId; // 支付方
	// -- 微信
	private String attach;  // 附加数据
	
	private String openid; 	// 用户标识
	
	private String spbillCreateIp;   // 终端IP 
	
	private String refundNo;	 //退款交易号
	
	private String appId;		//公众账号id
	
	private String subAppid;	// 子商户公众号id
	
	private String subMchid;	// 子商户号
		
	private String prepayId;	// 预下单id 
	
	private String codeUrl; 
	
	private String errCode;
	
	private String returnMsg;
	
	public String getCodeUrl() {
		return codeUrl;
	}

	public String getUserIp() {
		return userIp;
	}

	public void setUserIp(String userIp) {
		this.userIp = userIp;
	}

	public void setCodeUrl(String codeUrl) {
		this.codeUrl = codeUrl;
	}

	public String getErrCode() {
		return errCode;
	}

	public void setErrCode(String errCode) {
		this.errCode = errCode;
	}

	public String getReturnMsg() {
		return returnMsg;
	}

	public void setReturnMsg(String returnMsg) {
		this.returnMsg = returnMsg;
	}

	public String getAppsecret() {
		return appsecret;
	}

	public void setAppsecret(String appsecret) {
		this.appsecret = appsecret;
	}

	public String getCerPath() {
		return cerPath;
	}

	public void setCerPath(String cerPath) {
		this.cerPath = cerPath;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public String getWxMasterAccountName() {
		return wxMasterAccountName;
	}

	public void setWxMasterAccountName(String wxMasterAccountName) {
		this.wxMasterAccountName = wxMasterAccountName;
	}

	private String outRefundNo; //商户退款单号
	
	private String successJs;		// 成功回调JS
	
	private String failJs; 	// 失败回调JS

	public String getTradeFlowId() {
		return tradeFlowId;
	}

	public void setTradeFlowId(String tradeFlowId) {
		this.tradeFlowId = tradeFlowId;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public String getOutTradeNo() {
		return outTradeNo;
	}

	public void setOutTradeNo(String outTradeNo) {
		this.outTradeNo = outTradeNo;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getAuthCode() {
		return authCode;
	}

	public void setAuthCode(String authCode) {
		this.authCode = authCode;
	}

	public String getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(String totalAmount) {
		this.totalAmount = totalAmount;
	}

	public String getSubAccountId() {
		return subAccountId;
	}

	public void setSubAccountId(String subAccountId) {
		this.subAccountId = subAccountId;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	public String getPayGate() {
		return payGate;
	}

	public void setPayGate(String payGate) {
		this.payGate = payGate;
	}

	public String getPayType() {
		return payType;
	}

	public void setPayType(String payType) {
		this.payType = payType;
	}

	public String getNotifyUrl() {
		return notifyUrl;
	}

	public void setNotifyUrl(String notifyUrl) {
		this.notifyUrl = notifyUrl;
	}

	public String getRefundAmount() {
		return refundAmount;
	}

	public void setRefundAmount(String refundAmount) {
		this.refundAmount = refundAmount;
	}

	public String getRefundReason() {
		return refundReason;
	}

	public void setRefundReason(String refundReason) {
		this.refundReason = refundReason;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getStoreId() {
		return storeId;
	}

	public void setStoreId(String storeId) {
		this.storeId = storeId;
	}

	public String getTradeNo() {
		return tradeNo;
	}

	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}

	public String getSettleAmount() {
		return settleAmount;
	}

	public void setSettleAmount(String settleAmount) {
		this.settleAmount = settleAmount;
	}

	public String getTransOut() {
		return transOut;
	}

	public void setTransOut(String transOut) {
		this.transOut = transOut;
	}

	public String getTransIn() {
		return transIn;
	}

	public void setTransIn(String transIn) {
		this.transIn = transIn;
	}

	public String getAttach() {
		return attach;
	}

	public void setAttach(String attach) {
		this.attach = attach;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getSpbillCreateIp() {
		return spbillCreateIp;
	}

	public void setSpbillCreateIp(String spbillCreateIp) {
		this.spbillCreateIp = spbillCreateIp;
	}

	public String getRefundNo() {
		return refundNo;
	}

	public void setRefundNo(String refundNo) {
		this.refundNo = refundNo;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getSubAppid() {
		return subAppid;
	}

	public void setSubAppid(String subAppid) {
		this.subAppid = subAppid;
	}

	public String getSubMchid() {
		return subMchid;
	}

	public void setSubMchid(String subMchid) {
		this.subMchid = subMchid;
	}

	public String getMchId() {
		return mchId;
	}

	public void setMchId(String mchId) {
		this.mchId = mchId;
	}

	public String getPrepayId() {
		return prepayId;
	}

	public void setPrepayId(String prepayId) {
		this.prepayId = prepayId;
	}

	public String getWxKey() {
		return wxKey;
	}

	public void setWxKey(String wxKey) {
		this.wxKey = wxKey;
	}

	public String getOutRefundNo() {
		return outRefundNo;
	}

	public void setOutRefundNo(String outRefundNo) {
		this.outRefundNo = outRefundNo;
	}

	public String getSuccessJs() {
		return successJs;
	}

	public void setSuccessJs(String successJs) {
		this.successJs = successJs;
	}

	public String getFailJs() {
		return failJs;
	}

	public void setFailJs(String failJs) {
		this.failJs = failJs;
	}

	public String getReflectMethod() {
		return reflectMethod;
	}

	public void setReflectMethod(String reflectMethod) {
		this.reflectMethod = reflectMethod;
	}

	public String getOutRequestNo() {
		return outRequestNo;
	}

	public void setOutRequestNo(String outRequestNo) {
		this.outRequestNo = outRequestNo;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getAppid() {
		return appid;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}

	public String getPrivateKey() {
		return privateKey;
	}

	public void setPrivateKey(String privateKey) {
		this.privateKey = privateKey;
	}

	public String getPublicKey() {
		return publicKey;
	}

	public void setPublicKey(String publicKey) {
		this.publicKey = publicKey;
	}

	public String getAlipayPublicKey() {
		return alipayPublicKey;
	}

	public void setAlipayPublicKey(String alipayPublicKey) {
		this.alipayPublicKey = alipayPublicKey;
	}

	public String getSellerId() {
		return sellerId;
	}

	public void setSellerId(String sellerId) {
		this.sellerId = sellerId;
	}

	public String getIsSettle() {
		return isSettle;
	}

	public void setIsSettle(String isSettle) {
		this.isSettle = isSettle;
	}

	public String getBuyerUserId() {
		return buyerUserId;
	}

	public void setBuyerUserId(String buyerUserId) {
		this.buyerUserId = buyerUserId;
	}

	public String getAliKey() {
		return aliKey;
	}

	public void setAliKey(String aliKey) {
		this.aliKey = aliKey;
	}

	public String getAlipayAccount() {
		return alipayAccount;
	}

	public void setAlipayAccount(String alipayAccount) {
		this.alipayAccount = alipayAccount;
	}
	
}
